﻿using System;
using WalkingTec.Mvvm.Core;

namespace SelfService.Model.Models
{
    public class SysClientTask : TopBasePoco
    {
        public ClientTaskActionEnum Action { get; set; }

        public SysClient Client { get; set; }

        public Guid? ClientId { get; set; }

        public ClientTaskStatus Status { get; set; }

        public DateTime CreateTime { get; set; }

        public DateTime UpdateTime { get; set; }
    }

    public enum ClientTaskActionEnum{
        重启,
        关机,
        刷新,
        关闭,
        强制重启,
        强制关机,
        强制刷新,
        强制关闭
    }

    public enum ClientTaskStatus
    {
        等待执行,
        执行完成
    }
}
